package main

import "fmt"

func Total(prices ...int) int {
	result := 0
	for _,v := range prices{
		result += v
	}
	return result
}

func main() {
	result := Total(1,1,1)
	fmt.Println(result)
}
